﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using ALiteTeam.PackageTracer.Data;

namespace ALiteTeam.PackageTracer.Core
{
    public class AppContext
    {
        public AppContext()
        {
            this.ExceptionStack = new List<Exception>();
        }

        /// <summary>
        /// 当前选中的快递商ID
        /// </summary>
        public Guid SelectedDeliveryID { get; set; }

        /// <summary>
        /// 当前正在新增的运单对象
        /// </summary>
        public DeliveryOrder CurrentDeliveryOrder { get; set; }

        /// <summary>
        /// 异常队列
        /// </summary>
        public List<Exception> ExceptionStack { get; set; }
    }
}
